home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / emulator / bsvc-1.000 / bsvc-1 / bsvc-1.0.4 / src / SimHector / cpu / Makefile < prev    next >
Makefile  |  1995-07-26  |  787b  |  39 lines

  1. ###############################################################################
  2. # $Header:$
  3. ###############################################################################
  4. #
  5. # Makefile - SimHector Makefile
  6. #
  7. # Bradford W. Mott
  8. # July 3,1994
  9. #
  10. ###############################################################################
  11. # $Log:$
  12. ###############################################################################
  13.  
  14. LIBRARY = libcpu.a
  15.  
  16. ## List of object files that need to be made
  17. OBJS =    ALU.o RegisterSet.o DataPath.o exec.o RegisterTransfer.o \
  18.     ControlUnit.o Hector.o
  19.  
  20.  
  21. all: $(LIBRARY)
  22.  
  23. install:
  24.  
  25. $(LIBRARY): $(OBJS)
  26.     $(AR) $(AR_CREATE_FLAGS) $(LIBRARY) $(OBJS)
  27.     $(RANLIB) $(LIBRARY)
  28.  
  29. clean:
  30.     rm -f *.o $(LIBRARY)
  31.  
  32.  
  33. .SUFFIXES: .cxx .a
  34.  
  35. .cxx.o:
  36.     $(CC) $(INCLUDES) -c $(CPPFLAGS) $*.cxx
  37.  
  38.  
  39.